<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>查看所有用户列表页面</title>
    <link href="css/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
    <link href="css/dataTables/jquery.dataTables.css" />
    	<script src="js/jquery-1.11.1.min.js""></script>
		<script src="js/dataTables/jquery.dataTables.js"></script>
		<script src="js/dataTables/jquery.dataTables.bootstrap.js"></script>
		<script src="js/dataTables/extensions/TableTools/js/dataTables.tableTools.js"></script>
		<script src="js/dataTables/extensions/ColVis/js/dataTables.colVis.js"></script>

</head>
<body>

 <div class="tab-content">
                        <div class="tab-pane active">
                            <div class="panel-body">
                                <div class="ibox-content none-border">
                            <table class="table table-striped table-bordered table-hover" id="userlist">
                                <thead>
                                    <tr>
                                        <th>账号</th>
                                        <th>昵称</th>
                                        <th>是否VIP</th>
                                        <th>是否禁用</th>
                                    </tr>
                                </thead>
                                <tbody>
                                	<c:forEach items="${table }" var="temp2">
                                	<tr class="gradeX">
                                        <td>${temp2.username}</td>
                                        <td>${temp2.nickname}</td>
                                        <td>${temp2.level}</td>
                                        <td>${temp2.username}</td>
                                    </tr>
                    				</c:forEach>
                                </tbody>
                            </table>
                          </div>
                         </div>
                       </div>
                  </div>
</body>

<script>
	$(document).ready( function () {
    $('#userlist').DataTable();
} );


</script>
</html>